!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(y){var _={ppclass:"",animation:"fade",animationIn:"",animationOut:"",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},n="undefined"!=typeof window?window:null,$={hasTouchCapability:!(!n||!("ontouchstart"in n||n.DocumentTouch&&n.document instanceof n.DocumentTouch||n.navigator.maxTouchPoints)),hasTransitions:function(){if(!n)return!1;var t=(n.document.body||n.document.documentElement).style,i="transition",o=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof t.transition)return!0;i="transition".charAt(0).toUpperCase()+"transition".substr(1);for(var e=0;e=e.__options.IEmin?(t=null,e._$origin.data("tooltipster-initialTitle")===undefined&&((t=e._$origin.attr("title"))===undefined&&(t=null),e._$origin.data("tooltipster-initialTitle",t)),null!==e.__options.content?e.__contentSet(e.__options.content):(o=(i=e._$origin.attr("data-tooltip-content"))?y(i):o)&&o[0]?e.__contentSet(o.first()):e.__contentSet(t),e._$origin.removeAttr("title").addClass("tooltipstered"),e.__prepareOrigin(),e.__prepareGC(),y.each(e.__options.plugins,function(t,i){e._plug(i)}),$.hasTouchCapability&&y($.window.document.body).on("touchmove."+e.__namespace+"-triggerOpen",function(t){e._touchRecordEvent(t)}),e._on("created",function(){e.__prepareTooltip()})._on("repositioned",function(t){e.__lastPosition=t.position})):e.__options.disabled=!0},__contentInsert:function(){var t=this,i=t._$tooltip.find(".tooltipster-content"),o=t.__Content;return t._trigger({type:"format",content:t.__Content,format:function(t){o=t}}),"string"!=typeof(o=t.__options.functionFormat?t.__options.functionFormat.call(t,t,{origin:t._$origin[0]},t.__Content):o)||t.__options.contentAsHTML?i.empty().append(o):i.text(o),t},__contentSet:function(t){return t instanceof y&&this.__options.contentCloning&&(t=t.clone(!0)),this.__Content=t,this._trigger({type:"updated",content:t}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var t=this,i=t._$origin,o=t._$origin.is("area");o&&(s=t._$origin.parent().attr("name"),i=y('img[usemap="#'+s+'"]'));var e=i[0].getBoundingClientRect(),n=y($.window.document),s=y($.window),r=i,_={available:{document:null,window:null},document:{size:{height:n.height(),width:n.width()}},window:{scroll:{left:$.window.scrollX||$.window.document.documentElement.scrollLeft,top:$.window.scrollY||$.window.document.documentElement.scrollTop},size:{height:s.height(),width:s.width()}},origin:{fixedLineage:!1,offset:{},size:{height:e.bottom-e.top,width:e.right-e.left},usemapImage:o?i[0]:null,windowOffset:{bottom:e.bottom,left:e.left,right:e.right,top:e.top}}};if(o){var o=t._$origin.attr("shape"),a=t._$origin.attr("coords");if(a&&(a=a.split(","),y.map(a,function(t,i){a[i]=parseInt(t)})),"default"!=o)switch(o){case"circle":var l=a[0],p=a[1],c=a[2],h=p-c,p=l-c;_.origin.size.height=2*c,_.origin.size.width=_.origin.size.height,_.origin.windowOffset.left+=p,_.origin.windowOffset.top+=h;break;case"rect":l=a[0],c=a[1],p=a[2],h=a[3];_.origin.size.height=h-c,_.origin.size.width=p-l,_.origin.windowOffset.left+=l,_.origin.windowOffset.top+=c;break;case"poly":for(var d=0,u=0,g=0,f=0,m="even",w=0;wi.right))return!(r=!0);if("visible"!=n&&(s.origin.windowOffset.topi.bottom))return!(r=!0)}if("fixed"==o.css("position"))return!1}),r?e._$tooltip.css("visibility","hidden"):(e._$tooltip.css("visibility","visible"),e.__options.repositionOnScroll?e.reposition(t):(i=s.origin.offset.left-e.__Geometry.origin.offset.left,o=s.origin.offset.top-e.__Geometry.origin.offset.top,e._$tooltip.css({left:e.__lastPosition.coord.left+i,top:e.__lastPosition.coord.top+o})))),e._trigger({type:"scroll",event:t,geo:s})),e},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,y.each(this.__timeouts.close,function(t,i){clearTimeout(i)}),this.__timeouts.close=[],this},__trackerStart:function(){var o=this,e=o._$tooltip.find(".tooltipster-content");return o.__options.trackTooltip&&(o.__contentBcr=e[0].getBoundingClientRect()),o.__tracker=setInterval(function(){var t,i;a(o._$origin)&&a(o._$tooltip)?(o.__options.trackOrigin&&(i=!1,s((t=o.__geometry()).origin.size,o.__Geometry.origin.size)&&(o.__Geometry.origin.fixedLineage?s(t.origin.windowOffset,o.__Geometry.origin.windowOffset)&&(i=!0):s(t.origin.offset,o.__Geometry.origin.offset)&&(i=!0)),i||(o.__options.triggerClose.mouseleave?o._close():o.reposition())),o.__options.trackTooltip&&((i=e[0].getBoundingClientRect()).height===o.__contentBcr.height&&i.width===o.__contentBcr.width||(o.reposition(),o.__contentBcr=i))):o._close()},o.__options.trackerInterval),o},_close:function(o,t,i){var e,n=this,s=!0;return n._trigger({type:"close",event:o,stop:function(){s=!1}}),(s||i)&&(t&&n.__callbacks.close.push(t),n.__callbacks.open=[],n.__timeoutsClear(),e=function(){y.each(n.__callbacks.close,function(t,i){i.call(n,n,{event:o,origin:n._$origin[0]})}),n.__callbacks.close=[]},"closed"!=n.__state?(i=!0,t=(new Date).getTime()+n.__options.animationDuration[1],(i="disappearing"==n.__state&&t>n.__closingTime&&0").append(o.__Content).html()),i&&o._$origin.attr("title",i),o._$origin.removeClass("tooltipstered"),o._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")):(t=y.grep(t,function(t,i){return t!==o.__namespace}),o._$origin.data("tooltipster-ns",t))),o._trigger("destroyed"),o._off(),o.off(),o.__Content=null,o.__$emitterPrivate=null,o.__$emitterPublic=null,o.__options.parent=null,o._$origin=null,o._$tooltip=null,y.pptooltipster.__instancesLatestArr=y.grep(y.pptooltipster.__instancesLatestArr,function(t,i){return o!==t}),clearInterval(o.__garbageCollector)),o},disable:function(){return this.__destroyed?this.__destroyError():(this._close(),this.__enabled=!1),this},elementOrigin:function(){if(!this.__destroyed)return this._$origin[0];this.__destroyError()},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed?this.__destroyError():this._open(null,t),this},option:function(t,i){return i===undefined?this.__options[t]:(this.__destroyed?this.__destroyError():(this.__options[t]=i,this.__optionsFormat(),0<=y.inArray(t,["trigger","triggerClose","triggerOpen"])&&this.__prepareOrigin(),"selfDestruction"===t&&this.__prepareGC()),this)},reposition:function(t,i){var o=this;return o.__destroyed?o.__destroyError():"closed"!=o.__state&&a(o._$origin)&&(i||a(o._$tooltip))&&(i||o._$tooltip.detach(),o.__Geometry=o.__geometry(),o._trigger({type:"reposition",event:t,helper:{geo:o.__Geometry}})),o},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},y.fn.pptooltipster=function(){var n=Array.prototype.slice.apply(arguments),o="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof n[0]){var e="#*$~&";return this.each(function(){var t=y(this).data("tooltipster-ns"),i=t?y(this).data(t[0]):null;if(!i)throw new Error("You called PPTooltipster's \""+n[0]+'" method on an uninitialized element');if("function"!=typeof i[n[0]])throw new Error('Unknown method "'+n[0]+'"');1').append(this.__$tooltip).appendTo($.window.document.body)},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,i){return this.constraints={width:t,height:i},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t,i,o,e=this.__$tooltip[0].getBoundingClientRect(),n={size:{height:e.height||e.bottom-e.top,width:e.width||e.right-e.left}};return this.constraints&&(o=this.__$tooltip.find(".tooltipster-content"),t=this.__$tooltip.outerHeight(),i=o[0].getBoundingClientRect(),o={height:t<=this.constraints.height,width:e.width<=this.constraints.width&&i.width>=o[0].scrollWidth-1},n.fits=o.height&&o.width),$.IE&&$.IE<=11&&n.size.width!==$.window.document.documentElement.clientWidth&&(n.size.width=Math.ceil(n.size.width)+1),n}};t=navigator.userAgent.toLowerCase();-1!=t.indexOf("msie")?$.IE=parseInt(t.split("msie")[1]):-1!==t.toLowerCase().indexOf("trident")&&-1!==t.indexOf(" rv:11")?$.IE=11:-1!=t.toLowerCase().indexOf("edge/")&&($.IE=parseInt(t.toLowerCase().split("edge/")[1]));var o="tooltipster.sideTip";return y.pptooltipster._plugin({name:o,instance:{__defaults:function(){return{ppclass:"",arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var i=this;i.__instance=t,i.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),i.__previousState="closed",i.__options,i.__optionsFormat(),i.__instance._on("state."+i.__namespace,function(t){"closed"==t.state?i.__close():"appearing"==t.state&&"closed"==i.__previousState&&i.__create(),i.__previousState=t.state}),i.__instance._on("options."+i.__namespace,function(){i.__optionsFormat()}),i.__instance._on("reposition."+i.__namespace,function(t){i.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof y&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var t=y('
');this.__options.arrow||t.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&t.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&t.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=t,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var t=this;t.__options=t.__instance._optionsExtract(o,t.__defaults()),t.__options.position&&(t.__options.side=t.__options.position),"object"!=typeof t.__options.distance&&(t.__options.distance=[t.__options.distance]),t.__options.distance.length<4&&(t.__options.distance[1]===undefined&&(t.__options.distance[1]=t.__options.distance[0]),t.__options.distance[2]===undefined&&(t.__options.distance[2]=t.__options.distance[0]),t.__options.distance[3]===undefined&&(t.__options.distance[3]=t.__options.distance[1])),t.__options.distance={top:t.__options.distance[0],right:t.__options.distance[1],bottom:t.__options.distance[2],left:t.__options.distance[3]},"string"==typeof t.__options.side&&(t.__options.side=[t.__options.side,{top:"bottom",right:"left",bottom:"top",left:"right"}[t.__options.side]],"left"==t.__options.side[0]||"right"==t.__options.side[0]?t.__options.side.push("top","bottom"):t.__options.side.push("right","left")),6===y.pptooltipster._env.IE&&!0!==t.__options.arrow&&(t.__options.arrow=!1)},__reposition:function(a,l){var i,p=this,c=p.__targetFind(l),h=[];p.__instance._$tooltip.detach();var o=p.__instance._$tooltip.clone(),d=y.pptooltipster._getRuler(o),u=!1,t=p.__instance.option("animation");switch(t&&o.removeClass("tooltipster-"+t),y.each(["window","document"],function(t,n){var s=null;if(p.__instance._trigger({container:n,helper:l,satisfied:u,takeTest:function(t){s=t},results:h,type:"positionTest"}),1==s||0!=s&&0==u&&("window"!=n||p.__options.viewportAware))for(t=0;t=o.outerSize.width&&l.geo.available[n][_].height>=o.outerSize.height?o.fits=!0:o.fits=!1:o.fits=e.fits,"window"==n&&(o.fits?o.whole="top"==_||"bottom"==_?l.geo.origin.windowOffset.right>=p.__options.minIntersection&&l.geo.window.size.width-l.geo.origin.windowOffset.left>=p.__options.minIntersection:l.geo.origin.windowOffset.bottom>=p.__options.minIntersection&&l.geo.window.size.height-l.geo.origin.windowOffset.top>=p.__options.minIntersection:o.whole=!1),h.push(o),o.whole)u=!0;else if("natural"==o.mode&&(o.fits||o.size.width<=l.geo.available[n][_].width))return!1}})}}),p.__instance._trigger({edit:function(t){h=t},event:a,helper:l,results:h,type:"positionTested"}),h.sort(function(t,i){return t.whole&&!i.whole?-1:!t.whole&&i.whole?1:t.whole&&i.whole?(o=p.__options.side.indexOf(t.side))<(e=p.__options.side.indexOf(i.side))||!(el.geo.window.size.width-i.size.width&&(l.geo.origin.windowOffset.left+this.__options.minIntersection<=l.geo.window.size.width?i.coord.left=l.geo.window.size.width-i.size.width:i.coord.left=l.geo.origin.windowOffset.left+this.__options.minIntersection+1-i.size.width):i.coord.top<0?0<=l.geo.origin.windowOffset.bottom-this.__options.minIntersection?i.coord.top=0:i.coord.top=l.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:i.coord.top>l.geo.window.size.height-i.size.height&&(l.geo.origin.windowOffset.top+this.__options.minIntersection<=l.geo.window.size.height?i.coord.top=l.geo.window.size.height-i.size.height:i.coord.top=l.geo.origin.windowOffset.top+this.__options.minIntersection+1-i.size.height):(i.coord.left>l.geo.window.size.width-i.size.width&&(i.coord.left=l.geo.window.size.width-i.size.width),i.coord.left<0&&(i.coord.left=0)),p.__sideChange(o,i.side),l.tooltipClone=o[0],l.tooltipParent=p.__instance.option("parent").parent[0],l.mode=i.mode,l.whole=i.whole,l.origin=p.__instance._$origin[0],l.tooltip=p.__instance._$tooltip[0],delete i.container,delete i.fits,delete i.mode,delete i.outerSize,delete i.whole,i.distance=i.distance.horizontal||i.distance.vertical;var e,n,t=y.extend(!0,{},i);p.__instance._trigger({edit:function(t){i=t},event:a,helper:l,position:t,type:"position"}),!p.__options.functionPosition||(n=p.__options.functionPosition.call(p,p.__instance,l,t))&&(i=n),d.destroy(),n="top"==i.side||"bottom"==i.side?(e={prop:"left",val:i.target-i.coord.left},i.size.width-this.__options.minIntersection):(e={prop:"top",val:i.target-i.coord.top},i.size.height-this.__options.minIntersection),e.valn&&(e.val=n),n=l.geo.origin.fixedLineage?l.geo.origin.windowOffset:{left:l.geo.origin.windowOffset.left+l.geo.window.scroll.left,top:l.geo.origin.windowOffset.top+l.geo.window.scroll.top},i.coord={left:n.left+(i.coord.left-l.geo.origin.windowOffset.left),top:n.top+(i.coord.top-l.geo.origin.windowOffset.top)},p.__sideChange(p.__instance._$tooltip,i.side),l.geo.origin.fixedLineage?p.__instance._$tooltip.css("position","fixed"):p.__instance._$tooltip.css("position",""),p.__instance._$tooltip.css({left:i.coord.left,top:i.coord.top,height:i.size.height,width:i.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(e.prop,e.val),p.__instance._$tooltip.appendTo(p.__instance.option("parent")),p.__instance._trigger({type:"repositioned",event:a,position:i})},__sideChange:function(t,i){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+i)},__targetFind:function(t){var i={},o=this.__instance._$origin[0].getClientRects();return 1